#ifndef KEYWORD_PANEL_H
#define KEYWORD_PANEL_H

#include "notes_panel_base.h"
#include "keyword_filter.h"

class KeywordFilter;
class Note;

class KeywordsPanel : public NotesPanelBase
{
protected:
    KeywordFilter filter;
public:
    KeywordsPanel(AppFrame *top_frame, wxWindow* parent);
    void SetFilter(const KeywordFilter&);

    void NotifyNewNote(const Note& n);
    void NotifyEditedNote(const Note& n);
    void NotifyDeletedNote(const Note& n);
    void NotifyNewKeyword(const Keyword& k);
    void NotifyEditedKeyword(const Keyword& k);
    void NotifyDeletedKeyword(const Keyword& k);
};

#endif
